package com.zhia.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhia.demo.entity.NovelEntity;
import com.zhia.demo.entity.ReviewEntity;
import com.zhia.demo.vo.ReviewVo;

import java.util.List;

/**
 * @author DONG
 * @create 2023/11/4 15:37
 */
public interface ReviewService extends IService<ReviewEntity> {
    List<ReviewVo> getReviewList(String bookId,Integer userId);

    void delete(Integer id);

    void likeAdd(Integer id);

    void likeDec(Integer id);
}
